@charset "utf-8";


@import "reset";  

.container {
    width: 1226px;
    margin-right: auto;
    margin-left: auto;
    &::before,&::after{
        content: "";
        display: table
    }
    &:after{
         clear: both
    }
}

.sep{
    margin: 0 .25em;
    font-family: sans-serif;
}

.btn{
    display: inline-block;
    border: 1px solid #b0b0b0;
    text-align: center;
    cursor: pointer;
    transition: all .4s;
}

/**边框btn(color:#ff6700)**/
.btn-line-primary {
    border-color: #ff6700;
    background: #fff;
    color: #ff6700;
    &:hover{
        color: #fff;
        background-color: #f25807;
        border-color: #f25807
    }
}
/**color：#fff**/
.btn-primary{
    border-color: #ff6700;
    background: #ff6700;
    color: #fff;
    &:hover{
        color: #fff;
        background-color: #f25807;
        border-color: #f25807
    }
}

.btn-small {
    width: 118px;
    height: 28px;
    font-size: 12px;
    line-height: 28px
}
.btn-large{
    width: 178px;
    height: 48px;
    line-height: 48px;
}

.ir{
    display: block;
    text-align: left;
    text-indent: -9999em;
    overflow: hidden;
}

small{
    font-size: 80%;
}

.span4{
    width: 234px;
}
.span10{
    width: 606px;
}
.span16{
    width: 992px;
}
.span4,.span10,.span16{
    float: left;
}

.page-main{
    background: #f5f5f5;
}

.control{
    width: 20px;
    height: 24px;
    padding: 12px 0;
    font-size: 18px;
    line-height: 24px;
}

.hide{
    display: none !important;
}

.btn-line-orange{
    border-color: #ffac13;
    background: #fff;
    color: #ffac13;
    &:hover{
        color: #fff;
        background-color: #ff920f;
        border-color: #ff920f;
    }
}

/**显示当前位置**/
.breadcrumbs{
    height: 40px;
    font-size: 0px;
    line-height: 40px;
    background: #f5f5f5;
    color: #616161;
    a{
        font-size: 12px;
        color: #757575;
    }
    span{
        font-size: 12px;
    }
    .sep{
        margin: 0 0.5em;
        color: #b0b0b0;
    }
}


//顶部导航栏
.site-topbar{
    height: 40px;
    font-size: 12px;
    color: #b0b0b0;
    background: #333;
    .topbar-nav {
        float: left;
        height: 40px;
        line-height: 40px;
        overflow: hidden;
        font-size: 0;
        span{
            margin: 0 .5em;
            color: #424242;
            font-size: 12px;
        }
    }
    a{
        color: #b0b0b0;
        font-size:12px; 
        &:hover{
            color: #fff;
        }
    }
    .topbar-cart,.topbar-info{
         height: 40px;
         line-height: 40px;
         font-size: 0;
    }
    .topbar-info{
        .link{
            padding: 0 5px;
            text-align: center;
            font-size: 12px;
        }
        span{
            font-size: 12px;
            color: #424242;
        }
    }
    .topbar-cart{
        position: relative;
        width: 120px;
        margin-left: 15px;
        a{
            display: block;
            height: 40px;
            line-height: 40px;
            background: #424242;
            text-align: center;
            i{
                margin-right: 4px;
                font-size: 17px;
                line-height: 20px;
                vertical-align: -1px;
            }
            span{
               margin-left: -4px; 
               text-align: center;
            }
        }
        .cart-menu{
            position: absolute;
            right: 0;
            right: -1px \9;
            top: 40px;
            z-index: 3;
            width: 316px;
            height: 0;
            overflow: hidden;
            color: #424242;
            background: #fff;
            border: 1px solid #e0e0e0 \9;
            border-top: 0 \9;
            -webkit-box-shadow: 0 2px 10px rgba(0,0,0,0.15);
            box-shadow: 0 2px 10px rgba(0,0,0,0.15);
            transition: height .3s ease-in-out; 
            .loading{
                text-align: center;
                padding: 17px 0 27px;
                font-size: 12px;
                color: #424242;
            }
        }
        &:hover{
            a{
               color: #ff6700;
               background: #fff;
            } 
            .cart-menu{
                padding: 15px 0 0;
                height: 83px;
            } 
        }    
    }
}

//底部
footer{
    .site-footer{
        .footer-service{
            padding: 27px 0;
            border-bottom: 1px solid #e0e0e0;
            li{
                float: left;
                width: 19.8%;
                height: 25px;
                border-left: 1px solid #e0e0e0;
                font-size: 16px;
                line-height: 25px;
                text-align: center;
                &:first-child{
                    border-left: 0
                }
                a{
                    color: #616161;
                    -webkit-transition: color .2s;
                    transition: color .2s;
                    i{
                        margin-right: 6px;
                        font-size: 24px;
                        line-height: 24px;
                        vertical-align: -4px;
                    }
                    &:hover{
                        color: #ff6700
                    }
                }
                &:nth-of-type(4){
                     i{
                         font-size: 20px;
                         vertical-align: 0px;
                     }   
                }
                &:last-of-type{
                    i{ vertical-align: 0px; }
                }
            }
        }
        .footer-links{
            padding: 40px 0;
            .col-links{
                float: left;
                width: 160px;
                height: 112px;
                dt{
                    margin: -1px 0 26px;
                    font-size: 14px;
                    line-height: 1.25;
                    color: #424242;
                }
                dd{
                    margin: 10px 0 0;
                    font-size: 12px;
                    a{
                        color: #757575;
                        &:hover{
                            color: #ff6700;
                        }
                    }
                }
            }
            .col-contact{
                float: right;
                width: 251px;
                height: 112px;
                border-left: 1px solid #e0e0e0;
                text-align: center;
                color: #616161;
                p{
                    margin: 0 0 16px;
                    font-size: 12px;
                    span:after{
                        @include newline;
                    }
                }
                .phone{
                    margin: 0 0 5px;
                    font-size: 22px;
                    line-height: 1;
                    color: #ff6700;
                }
                a{
                    
                }
            }
        }
    }
    .site-info{
        padding: 30px 0;
        font-size: 12px;
        background: #fafafa;
        .info-text{
            float: left;
            color: #b0b0b0;
            p{
                color: #b0b0b0;
                line-height: 18px;
                a{
                    color: #b0b0b0;
                    &:hover{
                        color: #ff6700;
                    }
                }
            }
            .sites{
                a{
                    color: #757575;
                }
            }
        }
        .logo{
            float: left;
            width: 57px;
            height: 57px;
            margin-right: 10px;
            background: url(../../img/logo-footer.png) no-repeat 50% 50%;
        }
        .info-links{
            float: right;
            height: 28px;
            margin: 4px 0 0;
            img{
                width: auto;
                height: 28px;
                margin-left: 7px;
            }
        }
        .slogan{
            clear: both;
            margin: 30px auto 0;
            width: 267px;
            height: 19px;
            background: url(../../img/slogan2016.png) no-repeat center 0;
        }
    }
}


//分类导航栏
.site-header{
    position: relative;
    .header-logo{
        float: left;
        width: 62px;
        margin-top: 22px;
        font-size: 0;
        .logo{
            display: block;
            width: 55px;
            height: 55px;
            overflow: hidden;
            background: url(../../img/logo-footer.png) no-repeat 50% 50%;
        }
    }
    .header-nav{
        float: left;
        width: 850px;
        .nav-list{
            float: left;
            width: 820px;
            height: 88px;
            margin: 0;
            padding: 12px 0 0 30px;
            font-size: 16px;
        }
        .nav-category{
            position: relative;
            float: left;
            width: 127px;
            padding-right: 15px;
            .link-category{
                display: block;
                padding: 26px 0 38px;
                text-align: right;
                color: #333;
            }
        }
        .nav-item{
            position: relative;
            float: left;
            cursor: pointer;
            .link{
                display: block;
                padding: 26px 10px 38px;
                color: #333;
            }
            &:hover{
                .link{
                    color:#ff6700;
                }
            }
        }
        .site-category{
            display: none;
            position: absolute;
            top: 88px;
            left: -92px;    
            z-index: 2;
            width: 234px;
            height: 460px;
            font-size: 14px;
            cursor: default;
            .site-category-list{
                height: 418px;
                border: 1px solid #ff6700;
                padding: 20px 0;
                color: #424242;
                background: #fff;
                .title{
                    position: relative;
                    display: block;
                    padding-left: 30px;
                    height: 42px;
                    line-height: 42px;
                    color: #424242;
                    i{
                        position: absolute;
                        top: 14px;
                        right: 20px;
                        font-size: 14px;
                        line-height: 16px;
                        color: #e0e0e0;
                    }
                }
            }
            .category-item:hover{
                .title{
                    background: #FF6700;
                    color: #fff;
                }
            }
        }
        .nav-category:hover{
            .site-category{
                display: block;
            }
        }
    }
    .header-search{
        float: right;
        width: 296px;
        margin-top: 25px;
    }
    .search-form{
        position: relative;
        width: 296px;
        height: 50px;
        .search-text{
            position: absolute;
            top: 0;
            right: 51px;
            z-index: 1;
            width: 223px;
            height: 48px;
            padding: 0 10px;
            border: 1px solid #e0e0e0;
            font-size: 14px;
            line-height: 48px;
            outline: 0;
            -webkit-transition: all .2s;
            transition: all .2s;
        }
        .search-btn{
            position: absolute;
            right: 0;
            top: 0;
            z-index: 2;
            width: 52px;
            height: 50px;
            border: 1px solid #e0e0e0;
            background: transparent;
            color: #616161;
            font-size: 18px;
            outline: 0;
            -webkit-transition: all .2s;
            transition: all .2s;
            cursor: pointer;
        }
        .search-btn:hover{
            border-color: #ff6700;
            background: #ff6700;
            color: #fff;
        }
        .search-hot-words{
            position: absolute;
            top: 14px;
            right: 62px;
            z-index: 2;
            text-align: right;
            a{
                display: inline-block;
                margin-left: 5px;
                padding: 0 5px;
                font-size: 12px;
                background: #eee;
                color: #757575;
                -webkit-transition: all .2s;
                transition: all .2s;
                &:hover{
                    background: #ff6700;
                    color: #fff
                }
            }
        }
    }
}
.mid-content{
    .more{
        font-size: 0;
        .control{
            display: inline-block;
            width: 24px;
            height: 16px;
            color: #b0b0b0;
            padding: 3px 5px;
            border: 1px solid #e0e0e0;
            font-size: 16px;
            line-height: 18px;
            text-align: center;
            cursor: pointer;
            transition: color .5s;
            &:hover{
                color: #FF6700;
            }
        }
        //轮播图效果control效果
        .control-disabled{
            color: #e0e0e0;
            cursor: default;
            &:hover{
                color: #e0e0e0;
            }
        }
    }
}

//选项卡hover弹出窗体
.children-list-col{
    float: left;
    width: 265px
}
.children-col-1{
    width: 265px;
}
.children-col-2{
    width: 530px;
}
.children-col-3{
    width: 795px;
}
.children-col-4{
    width: 992px;
    .children-list-col{
        width: 248px;
    }
}
.children{
    display: none;
    position: absolute;
    left: 234px;
    top: 0;
    z-index: 99;
    height: 458px;
    border: 1px solid #e0e0e0;
    border-left: 0;
    background: #fff;
    -webkit-box-shadow: 0 8px 16px rgba(0,0,0,0.18);
    box-shadow: 0 8px 16px rgba(0,0,0,0.18);
    .children-list{
        height: 458px;
        padding: 2px 0;
        li{
            position: relative;
            width: 265px;
            height: 76px;
        }
        .tlink{
            display: block;
            padding: 18px 20px;
            line-height: 40px;
            color: #333;
            -webkit-transition: color .2s;
            transition: color .2s;
            &:hover{
                color:#ff6700;
            }
        }
        .thumb{
            width: auto;
            margin-right: 12px;
            vertical-align: middle;
        }
        .text{
            line-height: 40px;
        }
        .btn-buy{
            position: absolute;
            right: 10px;
            top: 26px;
            width: 58px;
            height: 22px;
            line-height: 22px;
        }
        li.stars-goods{
            .tlink{
                width: 170px;
                padding-right: 0;
            }
        }
    }
}

//激活类
.category-item-active{
    .children{
        display: block;
    }
}


/**导航栏弹出窗体(header-nav下)**/
.site-header{
    .container{
        position: relative;
    }
    .header-nav-menu{
        position: absolute;
        top: 100px;
        left: 0;
        z-index: 3;
        width: 100%;
        height: 0;
        overflow: hidden;
        background: #fff;
        -webkit-box-shadow: 0 3px 4px rgba(0,0,0,0.18);
        box-shadow: 0 3px 4px rgba(0,0,0,0.18);
        -webkit-transition: -webkit-box-shadow .2s;
        transition: box-shadow .2s;
        transition: height .4s ease-in-out;
        .children-list{
            font-size: 12px;
            li{
                position: relative;
                float: left;
                width: 180px;
                padding: 35px 12px 0;
                text-align: center;
                .figure-thumb{
                    width: 160px;
                    height: 110px;
                    margin: 0 auto 16px;
                    text-align: center;
                    a{
                        display: block;
                    }
                    img{
                        width: 160px;
                        height: 110px;
                    }
                }
                .title{
                    line-height: 20px;
                    a{ color: #333; }
                }
                .price{
                    line-height: 20px;
                    color: #ff6700;
                }
                .flags{
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    font-size: 12px;
                    text-align: center;
                    .flag{
                        display: inline-block;
                        *zoom: 1;
                        *display: inline;
                        height: 18px;
                        padding: 1px 20px;
                        border: 1px solid #ff6700;
                        color: #ff6700;
                    }
                }
            }
        }
    }
    .header-nav-menu-active{
        height: 229px;
        border-bottom: 1px solid #e0e0e0 \9;
    }
}


/***视频播放窗口***/
.fade{
    opacity: 0;
    filter: alpha(opacity=0)\9;
    -webkit-transition: opacity .15s linear;
    transition: opacity .15s linear;
}
.modal-body,.modal-bd{
    position: relative;
    max-height: 400px;
    padding: 40px 60px;
}
.modal{
    position: fixed !important;
    top: 50%;
    left: 50%;
    _position: absolute;
    _top: 15%;
    _margin-top: 0;
    z-index: 1050;
    width: 660px;
    margin-left: -330px;
    margin-top: -300px;
    background-color: #fff;
    outline: none;
    .close{
        position: absolute;
        top: 14px;
        right: 14px;
        width: 30px;
        height: 30px;
        line-height: 30px;
        text-align: center;
        color: #757575;
        cursor: pointer;
        -webkit-transition: all .2s;
        transition: all .2s;
        z-index: 10;
        border-radius: 15px;
    }
}
.modal-hide{
    display: none;
}
.modal.fade{
    -webkit-transition: opacity .4s linear, top .4s ease-out;
    transition: opacity .4s linear, top .4s ease-out;
    top: -25%;
}
.modal.fade-in{
    top: 50%;
    _top: 15%;
}
.fade-in{
    opacity: 1;
    filter: alpha(opacity=100)\9
}
